From: Eli Zaretskii Date: Sat, 24 Oct 2015 14:16:14 +0000 (+0300) Subject: ; * src/xdisp.c (redisplay_internal): Improve commentary. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~23^2~1848 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=59a2ad3e75442f89f88e2cac304b09fb50e70cb6;p=emacs.git ; * src/xdisp.c (redisplay_internal): Improve commentary. --- diff --git a/src/xdisp.c b/src/xdisp.c index 297f789cdaf..057671246e3 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -13931,7 +13931,15 @@ redisplay_internal (void) if (sf->fonts_changed || sf->redisplay) { if (sf->redisplay) - windows_or_buffers_changed = 50; + { + /* Set this to force a more thorough redisplay. + Otherwise, we might immediately loop back to the + above "else-if" clause (since all the conditions that + led here might still be true), and we will then + infloop, because the selected-frame's redisplay flag + is not (and cannot be) reset. */ + windows_or_buffers_changed = 50; + } goto retry; }